package com.atguigu.gmall.pms.entity.vo;

import com.atguigu.gmall.pms.entity.SkuAttrValueEntity;
import org.apache.commons.lang3.StringUtils;

import java.util.List;

public class SpuAttValueVo extends SkuAttrValueEntity {

    public void setValueSelected(List<String> valueSelected) {
        if (valueSelected!=null){
        this.setAttrValue(StringUtils.join(valueSelected,","));
        }
    }
}
